rendernode: Implement proper GSK_IS_RENDERNODE()
authorBenjamin Otte <otte@redhat.com>
Mon, 10 Jul 2023 04:23:45 +0000 (06:23 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 10 Jul 2023 04:32:01 +0000 (06:32 +0200)
commit465a34e6b0ef9654423c32d389dbb8ba6af40cdb
tree92fc4b6d59e042eeb8871cb7b2590ab6a405fc5c
parentaa82a400dfb3eaf28da96cd106efc27eeee0c55e
rendernode: Implement proper GSK_IS_RENDERNODE()

Use G_TYPE_CHECK_INSTANCE_TYPE() instead of just checking for != NULL.
After all, this is a GTypeInstance.

Also fixes some gcc complaints when checking
  node == NULL || GSK_IS_RENDERNODE (node)
which gcc was convinced would be always true.
gsk/gskrendernode.h